package cn.qinhao.pethome.org.mapper;

import cn.qinhao.pethome.org.domain.User;
import cn.qinhao.pethome.basic.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qinhao
 * @since 2023-02-27
 */
@Repository//防止注入用@Autowired报错
public interface UserMapper extends BaseMapper<User> {

    User loadByPhone(String mobile);

    User loadByEmail(String email);
}
